Skip to content

Instantly share code, notes, and snippets.

@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active November 25, 2026 15:05
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.

@sifue
sifue / 無料で読めるポール・グレアムの「ハッカーと画家」+αの日本語訳のみのまとめ.md
Last active November 25, 2026 15:02
無料で読めるポール・グレアムの「ハッカーと画家」+αの日本語訳のみのまとめ
@markdrew156
markdrew156 / download-from-pan-baidu-com-outside-china-2026.md
Created November 12, 2026 02:16
How to download from pan.baidu.com outside China (2026) — Baidu Pan / Baidu Netdisk without a Chinese account

How to download from pan.baidu.com outside China (2026) — Baidu Pan / Baidu Netdisk without a Chinese account

TL;DR: pan.baidu.com (Baidu Pan, Baidu Netdisk, 百度网盘) will not let you download anything without a logged-in Baidu account, and a Baidu account needs a mainland Chinese phone number. The working route in 2026 is a link-to-download service: paste the share link plus its extraction code on baidufast.com, check the real size and price, and receive a normal HTTPS download link. Files up to 150 MB are free; larger files start at $0.98.

Disclosure: BaiduFast is my own service. I run it, so this is a how-to written by the operator, not an independent review. Everything about Baidu itself below is public and checkable.

Key facts (November 2026)

  • pan.baidu.com is Baidu's consumer cloud storage. It is the dominant way files are shared on Chinese forums, Bilibili, Zhihu, game-mod sites and course platforms. "Baidu Pan", "Baidu
@jinjier
jinjier / javdb-top250.md
Last active November 25, 2026 14:59
JavDB top 250 movies list. [Updated on 2026/01]
@yamgarcia
yamgarcia / move.ps1
Last active November 25, 2026 14:57
Auto Mouse Mover - AntiscreenSaver
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class Mouse {
[DllImport("user32.dll")]
public static extern bool SetCursorPos(int x, int y);
}
"@
function Start-AntiscreenSaver {
@mcastelino
mcastelino / prom_relabel.md
Created December 14, 2020 21:50
Kubernetes Pod Monitors & Re-Labeling

Kubernetes Pod Monitors & Re-Labeling

The Prometheus operator offers a simple method to scrape metrics from any Pod. However in many cases the Pod itself is not what you are monitoring but the Pod is used to expose metrics that relate to the Node. In such cases what the user cares about is the Node on which the Pod runs and not the Pod itself.

By default when using PodMonitor all the time series data will have the instance set to the Pod's name. Also the Pod or the Daemon set that the Pod was part of may be deleted, redeployed multiple times over the lifetime of the node. This means that the user will need to perform the mapping between the Pod and the Node on which it run.

However Prometheus allows the instance name (among other labels) to be relabeled in a very simple manner as shown below.

apiVersion: monitoring.coreos.com/v1
@itachi-re
itachi-re / The Ultimate Brave Browser Linux Troubleshooting Handbook.md
Created July 21, 2026 10:04
A publication-quality guide covering Brave Browser troubleshooting across all Linux distributions and release channels. Features step-by-step diagnostics, hardware acceleration, GPU debugging, Chromium internals, graphics stack analysis, performance tuning, and practical solutions for crashes, freezes, rendering issues, and startup failures.

The Brave Browser Linux Troubleshooting Handbook

A distribution-agnostic guide to diagnosing crashes, freezes, startup failures, rendering bugs, GPU problems, and performance regressions in Brave Browser on Linux — across Stable, Beta, Nightly, and the Origin (de-Chromium-branded, no-Rewards/no-Wallet) channels.

This is not a list of "try these ten fixes." It is a method: isolate the failing layer first (Brave → Chromium → GPU driver → Mesa → Wayland/X11 → compositor → profile → extension → sandbox → kernel → packaging), then apply the narrowest fix that addresses that layer, then verify it actually worked.

Scope note on channels. Brave Origin, Origin Beta, and Origin Nightly are Brave's de-branded builds intended for environments that don't want Brave Rewards/Wallet/VPN code paths built in. Under the hood they are the same Chromium/Brave engine as Stable/Beta/Nightly respectively, so everything in this guide — flags, brave:// pages, GPU pipeline, sandboxing — applies identically. Where Origin di

@XDflight
XDflight / README.md
Last active November 25, 2026 14:51
Remove cache and old extensions under "~/.vscode-server/" on your Linux server

If you often connect to your Linux server using VSCode, the "~/.vscode-server/" folder (and sometimes the ~/.cache/ folder too) can get very large because VSCode:

  1. Does NOT clean its download cache after installing extensions;
  2. Does NOT delete old extensions after updating them;
  3. Does NOT remove old VSCode servers after installing a new version.

If your server storage space is limited, you might consider cleaning "~/.vscode-server/" (and ~/.cache/) regularly using the bash script I wrote. Simply run the following command:

curl -sL https://gist.githubusercontent.com/XDflight/5f3509eb84fc282b88059c909036f5bc/raw/fe2a3e7dab19160c17efc7025d138f5350964c0f/clean_vscode-server.sh | bash -s

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

变电站场景需求调研

1.传统巡视方式

  • 工作人员步行至成百上千的设备检测点前,进行数据记录。全部完成后返回监控室,整理报表上传至数据中心。每天例行巡检至少2次,每次至少2h(因变电站的面积不同而不同)。高温大负荷时,会增加巡检次数。在特殊天气情况下,会进行特殊巡检。
  • 另外,每隔半个月对站内设备进行一次红外测温检测,巡检人员通过手持红外摄像仪对设备进行检测,将检测结果进行手工记录。(红外测温:利用红外探测技术获取设备红外辐射状态的热信息,然后转换成温度进行显示的技术)

检测内容

  • 变压器巡视
  • 开关电器巡视
  • 电流、电压互感器巡视
  • 母线巡视